<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册</title>
    <link rel="stylesheet" href="/css/register.css">
</head>
<body>
<div id="app">
    <h1>注册</h1>
    <form id="register-form">
        <input type="text" id="reg-username" placeholder="用户名" required />
        <input type="password" id="reg-password" placeholder="密码" required />
        <input type="email" id="reg-email" placeholder="邮箱" required />
        <select id="reg-sex" required>
            <option value="" disabled selected>性别</option>
            <option value="男">男</option>
            <option value="女">女</option>
        </select>
        <button type="submit">注册</button>
    </form>
    <div id="register-response"></div>
    <a href="login.html">返回登录</a>
</div>
<script src="/js/register.js"></script>
</body>
</html>
